package com.shop.api.feign;

import com.shop.Result.LdbzResult;

import com.shop.pojo.LdbzItemComment;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "shop-service-itemComment")
public interface ItemCommentService {
    //计算评论
    @RequestMapping(value ="/item/service/countItemComment",method = RequestMethod.GET)
    LdbzResult countItemComment(LdbzItemComment entity);
    //获取项目评论页面
    @RequestMapping(value ="/item/service/getItemCommentPage",method = RequestMethod.GET)
    LdbzResult getItemCommentPage(LdbzItemComment entity,int pn,int limit);

}
